<div id="new_portfolio_item_form_<%= index %>">
	
<% fields_for "new_portfolio_items[#{index}]", portfolio_item do |f| %>  
	
	<p><label for="new_portfolio_items_uploaded_data[<%= index %>]">Choose file</label>
	<%= f.file_field :uploaded_data %></p>
	
	<p><label for="new_portfolio_items_portfolio_type_id[<%= index %>]">Choose type</label>
	<%= f.collection_select :portfolio_type_id, @designs, :id, :description %></p>  
	
<% end %>
</div>